package com.ironmaking.Vo.data;

import com.ironmaking.Vo.data.dataInterface.IUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @ClassName LoginData
 * @Description 登录信息
 */
@Getter
@Setter
@ApiModel(description="登录返回信息" )
public class LoginData implements IUser {

    @ApiModelProperty(example="eyJ0eXAQUguLhHABSv04UddY")
    String Token;

    @ApiModelProperty(example = "1")
    int UserId;

    @ApiModelProperty(example = "111@qq.com")
    String Email;

    @ApiModelProperty(example = "1")
    int Level;

    @ApiModelProperty(example = "null")
    String Picture;

    public LoginData(String token, int userId, String email, int level, String picture) {
        Token = token;
        UserId = userId;
        Email = email;
        Level = level;
        Picture = picture;
    }

}
